import {request} from "../utils/index.js";

export function login(data){
    return request({
        url:"/login",
        method:"post",
        data
    })
}

export function registered(data) {//注册用户
    return request({
        url: "/registered",
        method:"post",
        data
    })
}